﻿@inherits System.Web.Mvc.WebViewPage<Pikapika.Models.Publisher>

@{
	ViewBag.Title = "Publisher - Edit - " + Model.Name;
	
}

	@{Html.EnableClientValidation();}
	@using (Html.BeginForm()) {
		@Html.ValidationSummary(true)
		
		<fieldset>
			<legend>Fields</legend>
			
			<div class="editor-label">
				@Html.LabelFor(model => model.Id)
			</div>
			<div class="editor-field">
				@Model.Id
			</div>
			
			<div class="editor-label">
				@Html.LabelFor(model => model.Name)
			</div>
			<div class="editor-field">
				@Html.TextBoxFor(model => model.Name)
				@Html.ValidationMessageFor(model => model.Name)
			</div>
			
			<p>
				<input type="submit" value="Save" />
			</p>
		</fieldset>

	}

	<div>
		@Html.ActionLink("Back to List", "Index")
	</div>


